/* 清除默认样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul,
ol {
  margin: 0;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #000000;
}
a:hover,
a:focus {
  text-decoration: none;
}
img {
  vertical-align: middle;
}
i,
em {
  font-style: normal;
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-top: 0;
  margin-bottom: 0;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
@font-face {
  font-family: Kanit;
  src: url('../font/font1/Kanit-Regular.ttf');
}
@font-face {
  font-family: KanitMedium;
  src: url('../font/font1/Kanit-Medium.ttf');
}
@font-face {
  font-family: 'BelyDisplayW00-Regular';
  src: url('../font/font2/Bely\ Display\ W00\ Regular.ttf');
}
/* 头部和尾部的样式文件 */
#header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  width: 100%;
  height: 100px;
  /* background: linear-gradient(180deg, #1475eb 0%, rgba(0, 0, 0, 0) 100%); */
}
#header .header-wrap {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .header-wrap .header-left {
  display: flex;
}
#header .header-wrap .header-left #logo .active-logo {
  display: none;
}
#header .header-wrap .header-right #navs {
  margin-left: 121px;
  display: flex;
  align-items: center;
}
#header .header-wrap .header-right #navs li {
  margin-right: 50px;
}
#header .header-wrap .header-right #navs li a {
  color: #fff;
  font-family: Kanit;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 122.6%;
  letter-spacing: 0.32px;
  text-decoration: none;
  text-transform: uppercase;

}
#header .header-wrap .header-right #navs li a:hover {
  color: #2682FF;
}
#header .header-wrap .header-right {
  display: flex;
}
#header .header-wrap .header-right .lang-wrap {
  position: relative;
  width: 171px;
  height: 46px;
}
#header .header-wrap .header-right .lang-wrap .lang-txt {
  color: #fff;
  font-family: Kanit;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 122.6%;
  letter-spacing: 0.4px;
  text-transform: capitalize;
  margin-left: 6px;
  margin-right: 11px;
}
#header .header-wrap .header-right .lang-wrap .current-lang {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  cursor: pointer;
  user-select: none;
}
#header .header-wrap .header-right .lang-wrap .lang-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
}
#header .header-wrap .header-right .lang-wrap .lang-list a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: 10%;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  user-select: none;
}
#header .header-wrap .header-right .search-wrap {
  display: flex;
  align-items: center;
  margin: 0 30px;
}
#header .header-wrap .header-right .search-wrap .active-search {
  display: none;
}
#header .header-wrap .header-right .func-wrap {
  display: flex;
  align-items: center;
}
#header .header-wrap .header-right .func-wrap .func-close {
  display: none;
}
#header .header-wrap .header-right .func-wrap .show-func {
  width: 100%;
  position: absolute;
  right: -100%;
  top: 100%;
  display: flex;
  transition: all 0.5s;
}
#header .header-wrap .header-right .func-wrap .show-func .right {
  width: 51%;
  height: calc(100vh - 116px);
  background-color: #fff;
  padding-left: 170px;
  padding-top: 88px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#header .header-wrap .header-right .func-wrap .show-func .right ul {
  width: auto;
  display: flex;
  flex-direction: column;
}
#header .header-wrap .header-right .func-wrap .show-func .right ul li {
  margin-bottom: 15px;
  display: inline-block;
}
#header .header-wrap .header-right .func-wrap .show-func .right ul li a {
  color: #000;
  font-family: BelyDisplayW00-Regular;
  font-size: 68px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
}
#header .header-wrap .header-right .func-wrap .show-func .right ul li:hover > a {
  animation: hoverText 1s linear forwards;
}
#header .header-wrap .header-right .func-wrap .show-func .right ul li:hover .erji-wrap {
  display: block !important;
}
#header .header-wrap .header-right .func-wrap .show-func .right ul li .erji-wrap {
  display: none;
  margin-top: 24px;
}
#header .header-wrap .header-right .func-wrap .show-func .right ul li .erji-wrap a {
  color: #000;
  font-family: BelyDisplayW00-Regular;
  font-size: 42px;
  line-height: normal;
  text-transform: capitalize;
  margin-right: 35px;
}
#header .header-wrap .header-right .func-wrap .show-func .right ul li .erji-wrap a:hover {
  animation: hoverText 1s forwards linear;
}
#header .header-wrap .header-right .func-wrap .show-func .right p {
  color: #000;
  font-family: Kanit;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.36px;
  text-transform: uppercase;
}
#header .header-wrap .header-right .func-wrap .show-func .visbox {
  width: 49%;
  background: rgba(27, 8, 57, 0.6);
  backdrop-filter: blur(20px);
}
#header .header-wrap .show-search {
  position: fixed;
  left: 0;
  top: -100%;
  z-index: 999;
  width: 100%;
  height: 100vh;
  background: rgba(27, 8, 57, 0.6);
  backdrop-filter: blur(20px);
}
#header .header-wrap .show-search .close-search {
  position: absolute;
  top: 25px;
  right: 70px;
}
#header .header-wrap .show-search .show-search-wrap {
  width: 72%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
#header .header-wrap .show-search .show-search-wrap p {
  color: #fff;
  font-family: Kanit;
  font-size: 96px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
}
#header .header-wrap .show-search .show-search-wrap label {
  width: 41%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #fff;
  padding-bottom: 9px;
}
#header .header-wrap .show-search .show-search-wrap label input {
  flex: 1;
  font-family: Kanit;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: none;
  outline: none;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.3);
  padding-left: 21.65px;
}
#header.active-head {
  background: #fff !important;
}
#header.active-head #logo img {
  display: none !important;
}
#header.active-head #logo .active-logo {
  display: block !important;
}
#header.active-head #navs li a {
  color: #000 !important;
}
#header.active-head .func-wrap .func-img {
  display: none !important;
}
#header.active-head .func-wrap .func-close {
  display: block !important;
}
#header.active-head .func-wrap .show-func {
  right: 0 !important;
}
#header.active-head .search-wrap img {
  display: none !important;
}
#header.active-head .search-wrap .active-search {
  display: block !important;
}
/* 定义过渡动画 */
@keyframes hoverText {
  from {
    background: linear-gradient(90deg, #ed1c24 0%, #000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  to {
    color: #ed1c24;
  }
}
@media (max-width: 1750px) {
  #header .header-wrap .header-right .func-wrap .show-func .right {
    padding-left: 70px;
    width: 60%;
  }
  #header .header-wrap .header-right .func-wrap .show-func .visbox {
    width: auto;
    flex: 1;
  }
}
@media (max-width: 1500px) {
  #header .header-wrap .header-right .func-wrap .show-func .right {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  #header .header-wrap .header-right .func-wrap .show-func .right ul li a {
    font-size: 48px;
  }
}
@media (max-width: 1400px) {
  #header .header-wrap .header-right .func-wrap .show-func .right ul li .erji-wrap a {
    font-size: 32px;
  }
  #header .header-wrap .show-search .show-search-wrap {
    width: 80%;
  }
  #header .header-wrap .show-search .show-search-wrap p {
    font-size: 65px;
  }
  #header .header-wrap .show-search .show-search-wrap label {
    width: 50%;
  }
}
@media (max-width: 992px) {
  #header .header-wrap .header-left #navs {
    display: none;
  }
  #header .header-wrap .header-left #navs li {
    margin-right: 25px;
  }
  #header .header-wrap .header-right .func-wrap .show-func .right ul li a {
    font-size: 48px;
  }
  #header .header-wrap .show-search .show-search-wrap {
    flex-direction: column;
    justify-content: center;
  }
  #header .header-wrap .show-search .show-search-wrap p {
    margin-bottom: 10%;
  }
  #header .header-wrap .show-search .show-search-wrap label {
    width: 70%;
  }
}
@media (max-width: 768px) {
  #header {
    height: 80px;
  }
  #header .header-wrap .header-right .func-wrap .show-func {
    height: calc(100vh - 80px);
  }
  #header .header-wrap .header-right .func-wrap .show-func .right {
    height: 100%;
    width: 80%;
  }
  #header .header-wrap .header-right .lang-wrap .lang-txt {
    font-size: 4.26666667vw;
  }
  #header .header-wrap .header-right .func-wrap .show-func .right ul li a {
    font-size: 6.66666667vw;
  }
  #header .header-wrap .header-right .func-wrap .show-func .right ul li .erji-wrap a {
    font-size: 4.8vw;
  }
  /* 搜索区域 */
  #header .header-wrap .show-search .show-search-wrap {
    align-items: flex-start;
  }
  #header .header-wrap .show-search .show-search-wrap p {
    font-size: 8.66666667vw;
  }
  #header .header-wrap .show-search .show-search-wrap label {
    width: 100%;
  }
  #header .header-wrap .show-search .show-search-wrap label input {
    font-size: 5.33333333vw;
    margin-left: 1%;
  }
}
@media (max-width: 576px) {
  #header .header-wrap .header-left #logo img {
    height: 45px;
    width: auto;
  }
  #header .header-wrap .show-search .close-search {
    right: 10%;
  }
  #header .header-wrap .header-right .func-wrap .show-func .right {
    padding-top: 5%;
    padding-left: 5%;
  }
  #header .header-wrap .header-right .func-wrap .show-func .right p {
    font-size: 13px;
  }
  #header .header-wrap .header-right .lang-wrap {
    width: 140px;
  }
  #header .header-wrap .header-right .func-wrap img {
    width: 32px;
    height: 32px;
  }
  #header .header-wrap .header-right .search-wrap {
    margin: 0 15px;
  }
  #header .header-wrap .header-right .search-wrap img {
    width: 22px;
    height: 22px;
  }
  #header .header-wrap .header-right .func-wrap .show-func .right {
    width: 100%;
  }
}
